#ifndef         _VRLINE_
#define         _VRLINE_



typedef struct vrLine_type 
{
	vec2f_type	n;
	vec2f_type  p;
	float degree;
	int index;

}vrLine_type;



	// VrLine.cpp
void vrLine_compute( vrLine_type *vl, vec2f_type *p0, vec2f_type *p);

int vrLine_SharePoint( vrLine_type *vl0, vrLine_type *vl1, vec2f_type *p );

float vrLine_Point_distnace( vrLine_type *vl, vec2f_type *p );

int	line_cut_point( vec2f_type *p0, vec2f_type *n0, vec2f_type *p1, vec2f_type *n1,  vec2f_type *p );

int vrLine_side( vrLine_type *vl, vec2f_type *v );



#endif 